.class public Lcom/k/j/o/a/a/a;
.super Ljava/lang/Object;


# static fields
.field private static a:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;)Ljava/lang/String;
    .locals 4

    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    if-nez v0, :cond_0

    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v0

    const/16 v1, 0xda8

    const/4 v2, 0x4

    invoke-static {v1, v2}, Lcom/k/j/o/a/g;->a(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v0

    new-instance v1, Ljava/util/Properties;

    invoke-direct {v1}, Ljava/util/Properties;-><init>()V

    invoke-virtual {v1, v0}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V

    const/16 v2, 0xd92

    const/4 v3, 0x7

    invoke-static {v2, v3}, Lcom/k/j/o/a/g;->a(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    sput-object v1, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/io/InputStream;->close()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    invoke-static {p0}, Lcom/k/j/o/a/b;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    :cond_2
    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    if-eqz v0, :cond_3

    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    :cond_3
    const-string v0, ""

    sput-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    const/16 v0, 0xd90

    const/4 v1, 0x2

    invoke-static {v0, v1}, Lcom/k/j/o/a/g;->a(II)Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xd99

    const/16 v2, 0xf

    invoke-static {v1, v2}, Lcom/k/j/o/a/g;->a(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_4
    sget-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    return-object v0

    :catch_0
    move-exception v0

    const-string v0, ""

    sput-object v0, Lcom/k/j/o/a/a/a;->a:Ljava/lang/String;

    goto :goto_0
.end method
